package com.example.fpe_vote.db1.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2022-12-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class VoteInfo implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;
    /**
     * 投票人姓名
     */
    private String name;

    /**
     * 工号
     */
    private String ghid;

    /**
     * 投票的奖项
     */
    private String prizeNum;

    /**
     * 被投票的对象id
     */
    private String voteNomineeId;

    /**
     * 奖项名称
     */
    private String prizeName;

    /**
     * 投票时间
     */
    private LocalDateTime createTime;

    /**
     * 被投票的对象姓名
     */
    private String voteNomineeName;




}
